<?php

class Admin_Form_Login extends Zend_Form
{

    public function init()
    {
       $this
			->setMethod('post')
			->setAttrib('id', 'frmAdminLogin');
		$username = new Zend_Form_Element_Text('username');
		$username
			->setLabel("Username")
			->setRequired(true);
		$password = new Zend_Form_Element_Password('password');
		$password
			->setLabel("Password")
			->setRequired(true);
			
		$submit = new Zend_Form_Element_Submit('submit');
		$submit 
			->setValue ('')
			->setLabel ('Login')
			->setAttrib('class','btn btn-primary');
		$this
			->addElement($username)
			->addElement($password)
			->addElement($submit);
    }


}

